home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / ACL.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.2 KB  |  114 lines

  1. name ACL Output
  2.  
  3. c 00
  4. g 00
  5. p >8
  6. x ->3.>4
  7. y ->3.>4
  8. z ->3.>4
  9. X ->3.>4
  10. Y ->3.>4
  11. Z ->3.>4
  12. I ->3.>4 ""
  13. J ->3.>4 ""
  14. K ->3.>4 ""
  15. f >3.>3
  16. i 00
  17. t >2
  18. l >2
  19. u 00
  20. G >2
  21. e 00
  22. h 00
  23.  
  24. HCode x                               # X or X U  'Horizontal char.       
  25. VCode y                               # Y or Y V  'Vertical char.         
  26. Dcode z                               # Depth char.                       
  27. FeedCode f                            # Feed rate char.                   
  28.  
  29. Comment ( )                           # Begin End comment char.           
  30.  
  31. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  32. Coolant 8 9 7                         # On, Off & Mist m codes            
  33. DComp 41 42 40                        # Left, Right & Cancel m codes      
  34. LComp 43 49                           # On & Off codes                    
  35.  
  36. Feed G1                             # Linear move                       
  37. Rapid G0                            # Rapid positioning word            
  38. Cw G2                               # Circular move clockwise           
  39. Ccw G3                              # Circular move counter clockwise   
  40. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  41. Work G                                # Work offset register              
  42. CtrCode I J                           # I J or R or I J K L               
  43. Helical? N
  44.  
  45. Spaces? Y                             # Y or N  'Spaces between words     
  46. Incremental? N                        # Y or N  'Inc or abs output        
  47. CtrIncremental? N                     # Y or N  'Inc or abs I & J         
  48. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  49. CtrCode I J                           # I J or R or I J K L               
  50.  
  51. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  52.  
  53. StartCode                             # Start of the program              
  54. p[Program#]
  55. End
  56.  
  57. 1stToolChange                         # First tool change                 
  58. f[FRate] i0
  59. t[Tool] l[Lcomp]
  60. End
  61.  
  62. Infeed                                # Enable cutter comp                
  63. u0 G[Side]
  64. g0 x[H] y[V]
  65. end
  66.  
  67. Outfeed                               # Disable cutter comp               
  68. u0 G40
  69. g0 x[H] y[V]
  70. end
  71.  
  72. ToolChange                            # Secondary tool changes            
  73. g0 x[H] y[V] z[ToolD]
  74. t[Tool] l[Lcomp]
  75. End
  76.  
  77. EndCode                               # End of the program                
  78. e0
  79. h0
  80. End
  81.  
  82. LineCode                              # Linear move                       
  83. g0 x[H] y[V] z[D]
  84. end
  85.  
  86. CwCode                                # CW circular move                  
  87. c0 I[Hctr] J[Vctr] K[D]
  88. I0.0 J0.0 K1.0
  89. x[H] y[V] z[D]
  90. end
  91.  
  92. CcwCode                               # CCW circular move                 
  93. c0 I[Hctr] J[Vctr] K[D]
  94. I0.0 J0.0 K1.0
  95. x[H] y[V] z[D]
  96. end
  97.  
  98. Replace "c" with "CIRCLE"
  99. Replace "g" with "GOTO"
  100. Replace "p" with "PARTNO "
  101. Replace "i" with "IPM"
  102. Replace "u" with "CUTCOM"
  103. Replace "G41" with "LEFT"
  104. Replace "G42" with "RIGHT"
  105. Replace "G40" with "OFF"
  106. Replace "t" with "LOADTL "
  107. Replace "e" with "END"
  108. Replace "h" with "FINI"
  109. Replace "f" with "FEDRAT "
  110. Replace "x" with ""
  111. Replace "y" with ""
  112. Replace "z" with ""
  113. Replace "G0" with ""
  114.